<tbody>
{foreach from="`$posts`" item="post"}
	<tr class="{cycle values=",alt"}">
		<td><a href="/admin/blog/posts/{$post.id|str_pad:6:0:$smarty.const.STR_PAD_LEFT}/" class="ajax">{$post.revision.title|escape:"html":"UTF-8"|highlight:$smarty.session.paging[$path_string].filter}</a></td>
		<td>{$post.revision.author|escape:"html":"UTF-8"|highlight:$smarty.session.paging[$path_string].filter}</td>
		<td>{$post.revision.tags|escape:"html":"UTF-8"|highlight:$smarty.session.paging[$path_string].filter}</td>
		<td>{$post.comments}</td>
		<td>
			{if $post.revision.published_display}
				{$post.revision.published_display|strtotime|date:'M d, Y (H:i)'}
			{elseif $post.revision.published}
				<span style="color:#888">{$post.revision.published|strtotime|date:'M d, Y (H:i)'}</span>
			{else}
				<span style="color:#888">{$post.revision.timestamp|strtotime|date:'M d, Y (H:i)'}</span>
			{/if}
		</td>
		<td class="famfamfam"><a href="actions/delete-post/{$post.id|str_pad:6:0:$smarty.const.STR_PAD_LEFT}/" rel="post" class="delete"><img src="/admin/backend/resources/images/icons/delete.png" /></a></td>
	</tr>
{foreachelse}
	<tr>
		<td colspan="6">No results.</td>
	</tr>
{/foreach}
</tbody>
